<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
	<xsl:output method="xml" encoding="utf-8"
		doctype-public="-//W3C//DTD XHTML 1.1//EN"
		doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
		indent="yes" cdata-section-elements="javascript-escape"
		media-type="text/html" />
	<xsl:template match="/">
		<html>
			<head>
				<link rel="stylesheet" type="text/css" href="../style/" />
				<title>
					Own Id - Discovery on '
					<xsl:value-of
						select="/delegator/@openid_identifier" />
					'
				</title>
			</head>
			<body>
				<xsl:if test="/delegator/message">
					<ul>
						<xsl:for-each select="/delegator/message">
							<li>
								<xsl:value-of select="." />
							</li>
						</xsl:for-each>
					</ul>
				</xsl:if>
				<form action=".">
					<fieldset>
						<legend>Discovery on User Supplied Id</legend>
						<br />
						<label>
							User Supplied Id
							<input name="openid_identifier"
								value="{/delegator/request/control[@name='openid_identifier']}" />
						</label>
						<input type="submit" value="Discover" />
					</fieldset>
				</form>
				<xsl:if
					test="/delegator/request/control[@name='openid_identifier']">
					<ul>
						<li>
							User Supplied Id:
							<xsl:value-of
								select="/delegator/request/control[@name='openid_identifier']" />
						</li>
						<li>
							OP Endpoint URL:
							<xsl:value-of
								select="/delegator/@op-endpoint" />
						</li>
						<li>
							OP-Local Identifier:
							<xsl:value-of
								select="/delegator/@op-local-id" />
						</li>
						<li>
							Yadis Location:
							<xsl:value-of
								select="/delegator/@yadis-location" />
						</li>
						
					</ul>
				</xsl:if>
				<script src="http://www.google-analytics.com/urchin.js"
					type="text/javascript">
				</script>
				<script type="text/javascript">
					_uacct = "UA-1004155-8"; urchinTracker();
				</script>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>
